package com.food.eat.pojo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Author:RenPu
 * @Date: 2020/7/19 17:55
 * @Version: 1.0
 * @description:
 */

@ApiModel(value = "用户对象BO", description = "用于封装前端用户，输入的数据封装对象")
public class UserBO {

    @ApiModelProperty(value = "用户的名称", name = "username", example = "123", required = true)
    private String username;

    @ApiModelProperty(value = "密码", name = "password", example = "456", required = true)
    private String password;

    @ApiModelProperty(value = "认证密码", name = "confirmPassword", example = "789", required = false)
    private String confirmPassword;

    public UserBO() {
    }

    public UserBO(String username, String password, String confirmPassword) {
        this.username = username;
        this.password = password;
        this.confirmPassword = confirmPassword;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getConfirmPassword() {
        return confirmPassword;
    }

    public void setConfirmPassword(String confirmPassword) {
        this.confirmPassword = confirmPassword;
    }
}
